import React ,{Component} from 'react';



class TabsTwo extends Component {
	state = {
		
    }
    componentDidMount() {
    	
    }
    render() {
		let attributeList=this.props.attributeList;
		if(attributeList){
			return(
	        	<div className="TwoBox">
	    			{attributeList.map((item,i)=>{
	        			return	<div key={i} className={`tabsTwoBox ${i%2==0?'backgroundColor':''}`}>
	        						<span className="floatStyle1" >{item.name}</span>
	        						<span className="floatStyle2" >{item.value}</span>
	        					</div>
	        					
	        					
	        		})}
				    		
	        	</div>
			)
		}else{
			return <span></span>
		}
        
    }
}

export default TabsTwo